//
//  WiiKit.h
//  iFeller
//
//  Created by Wii on 15/12/12.
//  Copyright © 2015年 Wii. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef NS_ENUM (NSInteger,WiiPresentTransition){
    WiiPresentTransitionPresent = 0,
    WiiPresentTransitionDismiss ,
};

@interface WiiKit : NSObject <UIViewControllerAnimatedTransitioning>

#pragma mark - 时间操作

//获取当前日期
+ (NSString *)getCurrenDateForSystem;
//获取当时间
+ (NSString *)getCurrenTimeForSystem;
//获取当前星期
+ (NSString *)getNowWeekday;
// 获取表名
+ (NSString *)getCurrenUserTable;

#pragma mark - 隐藏NavigationBar底部横线
+ (UIImageView *)findHairlineImageViewUnder:(UIView *)view;

#pragma mark - Cell Animation
+ (void)mainTableViewCellAnimation:(UITableViewCell *)cell;

#pragma mark - UIAlertAction (错误提示)

+ (UIAlertController *)alertControllerWithMessage:(NSString *)message;

#pragma mark - 转场动画
+ (instancetype)transitionWithTransitionType:(WiiPresentTransition)type;
- (instancetype)initWithTransitionType:(WiiPresentTransition)type;

@end
